<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>修改广告</title>
<link href="__PUBLIC__/Admin/css/style.css" rel="stylesheet" type="text/css" />
</head>

<body>

<div id="container">
  <div id="main"> 
    <div id="content"> 
      <div class="weizhi"><span>当前位置：修改广告</span></div>
		<form action="__APP__/Advertising/editAd" method="POST" enctype="multipart/form-data">
<table width="100%" border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td>&nbsp;原有广告：</td>
    <td align="left">&nbsp;<img src="/Public/Upload/<{$adinfo.img}>" width="200px" height="80px"/></td>
  </tr>
   <tr>
    <td>&nbsp;新广告图片：</td>
    <td align="left">&nbsp;<input type="file" name="a_img" value=""></td>
  </tr>
    <tr>
    <td>&nbsp;选择位置：</td>
    <td align="left">&nbsp;			
		<select name="place">
				<option value="1" <if condition="$adinfo[place] eq 1">select="selected"</if>>顶部</option>
				<option value="2" <if condition="$adinfo[place] eq 2">select="selected"</if>>上方</option>
				<option value="3" <if condition="$adinfo[place] eq 3">select="selected"</if>>中上方</option>
				<option value="4" <if condition="$adinfo[place] eq 4">select="selected"</if>>中部</option>
				<option value="5" <if condition="$adinfo[place] eq 5">select="selected"</if>>中下方</option>
				<option value="6" <if condition="$adinfo[place] eq 6">select="selected"</if>>下方</option>
				<option value="7" <if condition="$adinfo[place] eq 7">select="selected"</if>>底部</option>
				<option value="8" <if condition="$adinfo[place] eq 8">select="selected"</if>>滚动图片</option>
		</select>		   
     </td>
  </tr>
    <tr>
    <td>&nbsp;链接地址：</td>
    <td align="left">&nbsp;<input type="text" name="location" value="<{$adinfo.location}>"></td>
  </tr>
    <tr>
    <td align="center" colspan="2">&nbsp;<input type="submit" name="sub" value="修改"></td>
    <input type="hidden" name="id" value="<{$adinfo.id}>"/>
  </tr> 
  
  
</table>

  
			
		</form>

	</div>
	</div>
</div>
</body>
</html>
